package com.hqyj.yanguangzhi.service;

import com.hqyj.common.pojo.Result;
import com.hqyj.common.pojo.SysUser;
import com.hqyj.common.pojo.TestPaper;
import com.hqyj.common.util.CommonResult;

/**
 * YanGG
 *
 * @InterfaceName: AMService
 * @author: yanguangzhi
 * @date: 2021/10/21 9:21
 */
public interface AMService {
    CommonResult queryResultByUserId(Integer userId);

    CommonResult queryTestPaperByClazz(TestPaper testPaper, String clazz);

    CommonResult queryResultByTestPaperAndNameWithDesc(Result result);

    CommonResult queryAvgAndPassRateByTestPaperName(String testPaperName);

    CommonResult queryResults(SysUser user);

    CommonResult queryTestPaperByUserId(TestPaper testPaper, Integer userId);
}
